<script type="text/javascript">
$(document).ready(
  function()
  {
	var manager = $('iframe.fileManager');
	var pane = $('#RightPane .all_wrapper');

	$('#RightPane').bind("resize", function(){
	//manager.height('100%');
	manager.height(pane.innerHeight() - 53);
	manager.width(pane.innerWidth() - 3);
	}).trigger("resize");
  }
);
</script>